package com.gobo.jinghuimall.auth.feign;

import com.gobo.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author guanboStart
 * @date 2021/11/20 22:11
 */
@FeignClient("jinghuimall-third-party")
public interface SmsFeign {

    @PostMapping("/thirdparty/sms/send")
    public R sendMessage(@RequestParam("code") String code, @RequestParam("moblie") String moblie);
}
